import { $t } from '@/i18n'

/**
 * 默认错误提示
 */
const messages = {
    number: $t('validate.number'),
    in: $t('validate.in'),
    notIn: $t('validate.notIn'),
    integer: $t('validate.integer'),
    float: $t('validate.float'),
    regex: $t('validate.regex'),
    required: $t('validate.required'),
    accepted: $t('validate.accepted'),
    alpha: $t('validate.alpha'),
    alphaNum: $t('validate.alphaNum'),
    alphaDash: $t('validate.alphaDash'),
    array: $t('validate.array'),
    bool: $t('validate.bool'),
    confirmed: $t('validate.confirmed'),
    maxLength: $t('validate.maxLength'),
    minLength: $t('validate.minLength'),
    betweenLength: $t('validate.betweenLength'),
    nullable: $t('validate.nullable'),
    uri: $t('validate.uri'),
    email: $t('validate.email'),
    equal: $t('validate.equal'),
}

export default messages